diff options
| author | Adrien Hopkins <[email protected]> | 2025-08-25 19:24:16 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2025-08-25 19:24:16 -0500 |
| commit | fdc035a8c5a64c47169c495d7f81bd0ab7643fb9 (patch) | |
| tree | f1cfd004528af0108cfaf19a19718d2474176403 /src/routes/(app)/[username] | |
| parent | eb66f787b48a2a52ece890e356fd022380f64c2e (diff) | |
| download | coinos-ui-fdc035a8c5a64c47169c495d7f81bd0ab7643fb9.tar.gz coinos-ui-fdc035a8c5a64c47169c495d7f81bd0ab7643fb9.zip | |
Add direct messages page
The CSS isn't great right now, but you can go back and forth! I'll make
it look nice another day.
Diffstat (limited to 'src/routes/(app)/[username]')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.svelte | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index b384344e..2e6657bd 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -140,6 +140,11 @@ <iconify-icon noobserver icon="ph:pencil-bold" width="32" ></iconify-icon> </a> + {:else} + <a href="/dm/{subject.username}" class="btn contents"> + <iconify-icon noobserver icon="ph:chat-bold" width="32" + ></iconify-icon> + </a> {/if} <!-- <a href={`/${subject.pubkey}/notes`}> --> <!-- <iconify-icon noobserver icon="ph:note-bold" width="32"></iconify-icon> --> |
